package com.alibaba.algo.exception;

import lombok.Getter;

/**
 * @author Fan.tianpeng
 * @date 2021/4/29 11:01
 */
@Getter
public enum SysRoleResourceErrorCode {

    ROLE_RESOURCE_REPEAT_RELATE(20500, "角色和资源已关联,请勿重复操作");

    private Integer code;

    private String message;

    SysRoleResourceErrorCode(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
